package cn.lg.soar.system.api.model;

import cn.lg.soar.common.data.dict.IDict;
import cn.lg.soar.common.model.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 字典DO接口
 * @author luguoxiang
 * @date 2021-08-11
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class DictDTO extends BaseDTO implements IDict<Integer> {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "字典值")
    private Integer value;

    @ApiModelProperty(value = "字典标签")
    private String label;

    @ApiModelProperty(value = "元数据（可配置其他参数）")
    private String metadata;

    @ApiModelProperty(value = "是否禁用")
    private Boolean disabled;

}
